package com.zhkj.txg.module.member.entity

import com.google.gson.annotations.SerializedName
import com.zhkj.lib.http.BaseResponse

data class RewardCenterResponse(
    val data: RewardCenterEntity? = null
) : BaseResponse()

data class RewardCenterEntity(
    val task: RewardTaskEntity? = null,
    @SerializedName("is_complete")
    val complete: Boolean = false,
    @SerializedName("order_total")
    val orderAmount: Double = 0.0,
    @SerializedName("order_num")
    val orderCount: Int = 0
)

data class RewardTaskEntity(
    @SerializedName("order_num")
    val orderCount: Int = 0,
    @SerializedName("order_total")
    val orderAmount: String = "",
    @SerializedName("reward_money")
    val rewardMoney: String = "",
    @SerializedName("coupon_name")
    val couponName: String = ""
)